package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.Area;
import com.ruoyi.system.domain.BusinessLine;

/**
 * 业务线Service接口
 * 
 * @author ruoyi
 * @date 2023-07-18
 */
public interface IBusinessLineService  extends IService<BusinessLine>
{
    /**
     * 查询业务线
     * 
     * @param id 业务线主键
     * @return 业务线
     */
    public BusinessLine selectBusinessLineById(Long id);

    /**
     * 查询业务线列表
     * 
     * @param businessLine 业务线
     * @return 业务线集合
     */
    public List<BusinessLine> selectBusinessLineList(BusinessLine businessLine);

    /**
     * 新增业务线
     * 
     * @param businessLine 业务线
     * @return 结果
     */
    public int insertBusinessLine(BusinessLine businessLine);

    /**
     * 修改业务线
     * 
     * @param businessLine 业务线
     * @return 结果
     */
    public int updateBusinessLine(BusinessLine businessLine);

    /**
     * 批量删除业务线
     * 
     * @param ids 需要删除的业务线主键集合
     * @return 结果
     */
    public int deleteBusinessLineByIds(Long[] ids);

    /**
     * 删除业务线信息
     * 
     * @param id 业务线主键
     * @return 结果
     */
    public int deleteBusinessLineById(Long id);
}
